[INFO] cloning repository https://github.com/shiver/rust-trends
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shiver/rust-trends" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiver%2Frust-trends", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiver%2Frust-trends'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cd5385b92ddf905944fc21dc97c2023dc58c7934
[INFO] testing shiver/rust-trends against master#d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d for pr-83796
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshiver%2Frust-trends" "/workspace/builds/worker-6/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/shiver/rust-trends on toolchain d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/shiver/rust-trends
[INFO] finished tweaking git repo https://github.com/shiver/rust-trends
[INFO] tweaked toml for git repo https://github.com/shiver/rust-trends written to /workspace/builds/worker-6/source/Cargo.toml
[INFO] crate git repo https://github.com/shiver/rust-trends already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] error: the lock file /workspace/builds/worker-6/source/Cargo.lock needs to be updated but --locked was passed to prevent this
[INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag.
[INFO] the lockfile is outdated, regenerating it
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d385d9ca53a4a7056183d1ec3ebf3bd6e2e9a8c90c46f0a60b68f452c8f54eb9
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] running `Command { std: "docker" "start" "-a" "d385d9ca53a4a7056183d1ec3ebf3bd6e2e9a8c90c46f0a60b68f452c8f54eb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d385d9ca53a4a7056183d1ec3ebf3bd6e2e9a8c90c46f0a60b68f452c8f54eb9", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d385d9ca53a4a7056183d1ec3ebf3bd6e2e9a8c90c46f0a60b68f452c8f54eb9", kill_on_drop: false }`
[INFO] [stdout] d385d9ca53a4a7056183d1ec3ebf3bd6e2e9a8c90c46f0a60b68f452c8f54eb9
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+d408fdd4a82bc3e7ea61dd81bc9a8781b2bf939d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
[INFO] [stdout] cac44baa511921d6b267f88869c138453c3d1d385f74b9b71544019764aff92d
[INFO] running `Command { std: "docker" "start" "-a" "cac44baa511921d6b267f88869c138453c3d1d385f74b9b71544019764aff92d", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.0.1
[INFO] [stderr]    Compiling syn v1.0.72
[INFO] [stderr]    Compiling pin-project-lite v0.2.6
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]    Compiling log v0.4.14
[INFO] [stderr]    Compiling itoa v0.4.7
[INFO] [stderr]    Compiling cfg-if v1.0.0
[INFO] [stderr]    Compiling pkg-config v0.3.19
[INFO] [stderr]    Compiling httparse v1.4.0
[INFO] [stderr]    Compiling fnv v1.0.7
[INFO] [stderr]    Compiling lazy_static v1.4.0
[INFO] [stderr]    Compiling ryu v1.0.5
[INFO] [stderr]    Compiling serde v1.0.125
[INFO] [stderr]    Compiling futures-core v0.3.14
[INFO] [stderr]    Compiling memchr v2.4.0
[INFO] [stderr]    Compiling unicode-width v0.1.8
[INFO] [stderr]    Compiling futures-task v0.3.14
[INFO] [stderr]    Compiling pin-utils v0.1.0
[INFO] [stderr]    Compiling ansi_term v0.11.0
[INFO] [stderr]    Compiling httpdate v1.0.0
[INFO] [stderr]    Compiling smallvec v1.6.1
[INFO] [stderr]    Compiling strsim v0.8.0
[INFO] [stderr]    Compiling tower-service v0.3.1
[INFO] [stderr]    Compiling vec_map v0.8.2
[INFO] [stderr]    Compiling hashbrown v0.9.1
[INFO] [stderr]    Compiling tracing-core v0.1.18
[INFO] [stderr]    Compiling futures-channel v0.3.14
[INFO] [stderr]    Compiling textwrap v0.11.0
[INFO] [stderr]    Compiling futures-util v0.3.14
[INFO] [stderr]    Compiling http v0.2.4
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling tokio v1.5.0
[INFO] [stderr]    Compiling want v0.3.0
[INFO] [stderr]    Compiling hashlink v0.6.0
[INFO] [stderr]    Compiling tracing v0.1.26
[INFO] [stderr]    Compiling libsqlite3-sys v0.22.1
[INFO] [stderr]    Compiling rusqlite v0.25.1
[INFO] [stderr]    Compiling chrono v0.4.19
[INFO] [stderr]    Compiling http-body v0.4.1
[INFO] [stderr]    Compiling serde_json v1.0.64
[INFO] [stderr]    Compiling pin-project-internal v1.0.7
[INFO] [stderr]    Compiling pin-project v1.0.7
[INFO] [stderr]    Compiling hyper v0.14.7
[INFO] [stderr]    Compiling rust-trends v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `hyper::client`
[INFO] [stdout]   --> src/main.rs:25:12
[INFO] [stdout]    |
[INFO] [stdout] 25 | use hyper::client::Client;
[INFO] [stdout]    |            ^^^^^^ could not find `client` in `hyper`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `hyper::header::Headers`, `hyper::header::UserAgent`
[INFO] [stdout]   --> src/main.rs:26:21
[INFO] [stdout]    |
[INFO] [stdout] 26 | use hyper::header::{Headers, UserAgent};
[INFO] [stdout]    |                     ^^^^^^^  ^^^^^^^^^ no `UserAgent` in `header`
[INFO] [stdout]    |                     |
[INFO] [stdout]    |                     no `Headers` in `header`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `rusqlite::SqliteConnection`, `rusqlite::SqliteError`, `rusqlite::SqliteRows`
[INFO] [stdout]   --> src/main.rs:29:16
[INFO] [stdout]    |
[INFO] [stdout] 29 | use rusqlite::{SqliteConnection, SqliteError, SqliteRows};
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^  ^^^^^^^^^^^  ^^^^^^^^^^ no `SqliteRows` in the root
[INFO] [stdout]    |                |                 |
[INFO] [stdout]    |                |                 no `SqliteError` in the root
[INFO] [stdout]    |                no `SqliteConnection` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `SqliteConnection` in `rusqlite`
[INFO] [stdout]   --> src/main.rs:41:32
[INFO] [stdout]    |
[INFO] [stdout] 41 |         let result = rusqlite::SqliteConnection::open(STORE_PATH);
[INFO] [stdout]    |                                ^^^^^^^^^^^^^^^^ could not find `SqliteConnection` in `rusqlite`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UTC`
[INFO] [stdout]   --> src/main.rs:88:19
[INFO] [stdout]    |
[INFO] [stdout] 88 |             date: UTC::now(),
[INFO] [stdout]    |                   ^^^ use of undeclared type `UTC`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UTC` in this scope
[INFO] [stdout]   --> src/main.rs:79:20
[INFO] [stdout]    |
[INFO] [stdout] 75 | struct Trend {
[INFO] [stdout]    |             - help: you might be missing a type parameter: `<UTC>`
[INFO] [stdout] ...
[INFO] [stdout] 79 |     date: DateTime<UTC>,
[INFO] [stdout]    |                    ^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead
[INFO] [stdout]   --> src/main.rs:64:20
[INFO] [stdout]    |
[INFO] [stdout] 64 |         let rows = try!(self.query("SELECT version FROM _trends"));
[INFO] [stdout]    |                    ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied
[INFO] [stdout]    --> src/main.rs:67:32
[INFO] [stdout]     |
[INFO] [stdout] 67  |             None => return Err(Error::new(ErrorKind::NotFound))
[INFO] [stdout]     |                                ^^^^^^^^^^ ------------------- supplied 1 argument
[INFO] [stdout]     |                                |
[INFO] [stdout]     |                                expected 2 arguments
[INFO] [stdout]     |
[INFO] [stdout] note: associated function defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for reference `&serde_json::Value` in the current scope
[INFO] [stdout]   --> src/main.rs:85:38
[INFO] [stdout]    |
[INFO] [stdout] 85 |             name: str_to_string(data.find("full_name").unwrap().as_string().unwrap()),
[INFO] [stdout]    |                                      ^^^^ method not found in `&serde_json::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for reference `&serde_json::Value` in the current scope
[INFO] [stdout]   --> src/main.rs:86:37
[INFO] [stdout]    |
[INFO] [stdout] 86 |             url: str_to_string(data.find("html_url").unwrap().as_string().unwrap()),
[INFO] [stdout]    |                                     ^^^^ method not found in `&serde_json::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for reference `&serde_json::Value` in the current scope
[INFO] [stdout]   --> src/main.rs:87:45
[INFO] [stdout]    |
[INFO] [stdout] 87 |             description: str_to_string(data.find("description").unwrap().as_string().unwrap()),
[INFO] [stdout]    |                                             ^^^^ method not found in `&serde_json::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `find` found for enum `serde_json::Value` in the current scope
[INFO] [stdout]    --> src/main.rs:143:22
[INFO] [stdout]     |
[INFO] [stdout] 143 |     let items = json.find("items").unwrap();
[INFO] [stdout]     |                      ^^^^ method not found in `serde_json::Value`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 11 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0061, E0412, E0432, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0061`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-trends`
[INFO] [stderr] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[INFO] running `Command { std: "docker" "inspect" "cac44baa511921d6b267f88869c138453c3d1d385f74b9b71544019764aff92d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cac44baa511921d6b267f88869c138453c3d1d385f74b9b71544019764aff92d", kill_on_drop: false }`
[INFO] [stdout] cac44baa511921d6b267f88869c138453c3d1d385f74b9b71544019764aff92d
